package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.UnemploymentInsuranceManagementDao;
import io.renren.entity.UnemploymentInsuranceManagementEntity;
import io.renren.service.UnemploymentInsuranceManagementService;



@Service("unemploymentInsuranceManagementService")
public class UnemploymentInsuranceManagementServiceImpl implements UnemploymentInsuranceManagementService {
	@Autowired
	private UnemploymentInsuranceManagementDao unemploymentInsuranceManagementDao;
	
	@Override
	public UnemploymentInsuranceManagementEntity queryObject(Integer id){
		return unemploymentInsuranceManagementDao.queryObject(id);
	}
	
	@Override
	public List<UnemploymentInsuranceManagementEntity> queryList(Map<String, Object> map){
		return unemploymentInsuranceManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return unemploymentInsuranceManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(UnemploymentInsuranceManagementEntity unemploymentInsuranceManagement){
		unemploymentInsuranceManagementDao.save(unemploymentInsuranceManagement);
	}

	@Override
	public void update(UnemploymentInsuranceManagementEntity unemploymentInsuranceManagement){
		unemploymentInsuranceManagementDao.update(unemploymentInsuranceManagement);
	}
	
	@Override
	public void delete(Integer id){
		unemploymentInsuranceManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		unemploymentInsuranceManagementDao.deleteBatch(ids);
	}
	
}
